package com.phz.springcloud.study.entity;

import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Document;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;
/**
 * 交易表
 * @author penghaozhong
 *
 */
@Document(collection = "cloud-transaction")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class Transaction {
	
	
	private String transactionCode;
	private String transactionType;
	private String relatedId;
	//用户
	private String phone;
	private String username;
	private int transactionDirection;
	private double transactionAmount;
	private String transactionCurrency;
	private Date transactionDate;
	private Date transactionTime;
	private String transactionDesc;
	private int status;
	//代理商
	private String angency;
	private double commissionAmount;
	private String commissionCurrency;
	private Date updateTime;
	private String updator;
	private Date createTime;

}
